package cn.dinxian.activiti.demo2;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(exclude = {
    org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class,
    org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration.class
})
@EnableSwagger2///runtime-provider/startProcess/{id}
@EnableDiscoveryClient
@MapperScan("cn.dinxian.activiti.demo2.mapper")
public class Demo2Application {

  public static void main(String[] args) {
    SpringApplication.run(Demo2Application.class, args);
  }

}
